//
//  GYMyFirstTableViewCell.m
//  Visitor
//
//  Created by x on 2017/9/20.
//  Copyright © 2017年 HLB. All rights reserved.
//

#import "GYMyFirstTableViewCell.h"

@interface GYMyFirstTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *iconImage;

@property (weak, nonatomic) IBOutlet UILabel *titleLable;

@end

@implementation GYMyFirstTableViewCell


+ (GYMyFirstTableViewCell *)cellWithTableView:(UITableView *)tableView {
    
    return [[[NSBundle mainBundle]loadNibNamed:@"GYMyFirstTableViewCell" owner:nil options:nil]firstObject];
}



- (void)setImageName:(NSString *)imageName {
    _imageName = imageName;
    self.iconImage.image = [UIImage imageNamed:imageName];
}

- (void)setTitle:(NSString *)title {
    _title = title;
    self.titleLable.text = title;
}

- (IBAction)switchValueChanged:(UISwitch *)sender {
    
    
}


@end
